package org.mysfit.ctp4j.api.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 报单参数
 * @author long.gf
 * @since 2022-12-06
 *
 */
public class OrderInsertVO implements Serializable {

	private static final long serialVersionUID = -1441837402565737595L;

	private String instruementId; 
	private Integer qty = 1;
	private String orderPriceType = "THOST_FTDC_OPT_AnyPrice";
	private BigDecimal price = BigDecimal.ZERO;
	private BigDecimal limitPrice = BigDecimal.ZERO;
	private BigDecimal stopPrice = BigDecimal.ZERO;
	private String direction = "THOST_FTDC_D_Buy";
	private String combOffsetFlag = "THOST_FTDC_OF_Open";
	private String combHedgeFlag = "THOST_FTDC_BHF_Speculation";
	private String exchangeId = "SHFE";
	private Integer isSwapOrder = 1;
	private Integer isAutoSuspend = 0;
	private String forceCloseReason = "THOST_FTDC_FCC_NotForceClose";
	
	public String getInstruementId() {
		return instruementId;
	}
	public void setInstruementId(String instruementId) {
		this.instruementId = instruementId;
	}
	public Integer getQty() {
		return qty;
	}
	public void setQty(Integer qty) {
		this.qty = qty;
	}
	public String getOrderPriceType() {
		return orderPriceType;
	}
	public void setOrderPriceType(String orderPriceType) {
		this.orderPriceType = orderPriceType;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public BigDecimal getLimitPrice() {
		return limitPrice;
	}
	public void setLimitPrice(BigDecimal limitPrice) {
		this.limitPrice = limitPrice;
	}
	public BigDecimal getStopPrice() {
		return stopPrice;
	}
	public void setStopPrice(BigDecimal stopPrice) {
		this.stopPrice = stopPrice;
	}
	public String getDirection() {
		return direction;
	}
	public void setDirection(String direction) {
		this.direction = direction;
	}
	public String getCombOffsetFlag() {
		return combOffsetFlag;
	}
	public void setCombOffsetFlag(String combOffsetFlag) {
		this.combOffsetFlag = combOffsetFlag;
	}
	public String getCombHedgeFlag() {
		return combHedgeFlag;
	}
	public void setCombHedgeFlag(String combHedgeFlag) {
		this.combHedgeFlag = combHedgeFlag;
	}
	public String getExchangeId() {
		return exchangeId;
	}
	public void setExchangeId(String exchangeId) {
		this.exchangeId = exchangeId;
	}
	public Integer getIsSwapOrder() {
		return isSwapOrder;
	}
	public void setIsSwapOrder(Integer isSwapOrder) {
		this.isSwapOrder = isSwapOrder;
	}
	public Integer getIsAutoSuspend() {
		return isAutoSuspend;
	}
	public void setIsAutoSuspend(Integer isAutoSuspend) {
		this.isAutoSuspend = isAutoSuspend;
	}
	public String getForceCloseReason() {
		return forceCloseReason;
	}
	public void setForceCloseReason(String forceCloseReason) {
		this.forceCloseReason = forceCloseReason;
	}
	
}
